import React from 'react'
import { PageHeaderWrapper } from '@ant-design/pro-layout'
import { Card } from 'antd'
import Chunk from '../components/chunk'
import { data } from '../data'

export default () => {

    const dataList: data[] = [
        { title: "会员消费", desc: "会员消费后奖励设置", url: "http://uniapp.b2b2c.niuteam.cn/addon/memberconsume/icon.png" },
        { title: "会员充值", desc: "会员充值", url: "http://uniapp.b2b2c.niuteam.cn/addon/memberrecharge/icon.png" },
        { title: "会员注册", desc: "会员注册后奖励设置", url: "http://uniapp.b2b2c.niuteam.cn/addon/memberregister/icon.png" },
        { title: "会员签到", desc: "会员签到后奖励设置", url: "http://uniapp.b2b2c.niuteam.cn/addon/membersignin/icon.png" },
        { title: "刮刮卡", desc: "刮刮卡奖励", url: "http://uniapp.b2b2c.niuteam.cn/public/static/img/lucky.png", status: "pending" },
        { title: "大转盘", desc: "大转盘奖励", url: "http://uniapp.b2b2c.niuteam.cn/public/static/img/draw.png", status: "pending" },
        { title: "疯狂猜", desc: "疯狂猜奖励", url: "http://uniapp.b2b2c.niuteam.cn/public/static/img/crazyguess.png", status: "pending" },

    ];
    return (
        <PageHeaderWrapper title={false}>
            <Card>
                <Chunk dataList={dataList} navTitle="会员营销" />
            </Card>
        </PageHeaderWrapper>
    )
}